<?
//读取表格单条数据的所有项

//table:表格 
//number:数据的条数
 

function  select_one_line_all_items($table,$condition)
{

$sqlstr="select * from $table where ".$condition;
$result = mysql_query($sqlstr);
$values = mysql_fetch_array($result); 
mysql_close($con);

return $values ;

}
?>